package com.demo.service.sca.impl;

import com.demo.dao.common.entity.CatalogItem;
import com.demo.dao.sca.mapper.ScaCatalogMapper;
import com.demo.service.sca.ScaCatalogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class ScaCatalogServiceImpl implements ScaCatalogService {
    @Autowired
    private ScaCatalogMapper catalogMapper;

    //查询项目列表
    @Override
    public List<CatalogItem> getProjectCatalogList() {
        return catalogMapper.getProjectCatalogList();
    }

    //查询设备列表
    @Override
    public List<CatalogItem> getDeviceCatalogList() {
        return catalogMapper.getDeviceCatalogList();
    }

    //查询变量列表
    @Override
    public List<CatalogItem> getVariableCatalogList() {
        return catalogMapper.getVariableCatalogList();
    }

    //查询页面列表
    @Override
    public List<CatalogItem> getPageCatalogList() {
        return catalogMapper.getPageCatalogList();
    }

    //查询组件列表
    @Override
    public List<CatalogItem> getComponentCatalogList() {
        return catalogMapper.getComponentCatalogList();
    }
}
